package com.oa.ylms.apps.dao.goods.impl;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.oa.ylms.apps.dao.goods.IGoodsCheckDao;
import com.oa.ylms.apps.entity.goods.GoodCheckValue;

public class GoodsCheckDaoImpl extends HibernateDaoSupport implements IGoodsCheckDao {
	public int addGoodCheck(GoodCheckValue goodCheck) throws Exception {
		if (goodCheck != null) {
			this.getHibernateTemplate().save(goodCheck);
			return goodCheck.getId();
		}
		return 0;
	}

	
}
